package com.siyuanren.gcocp.mapper.base;

import com.siyuanren.gcocp.entity.WxUserHomeworkAnswer;
import com.siyuanren.gcocp.entity.WxUserHomeworkAnswerExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface WxUserHomeworkAnswerMapper {
    long countByExample(WxUserHomeworkAnswerExample example);

    int deleteByExample(WxUserHomeworkAnswerExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WxUserHomeworkAnswer record);

    int insertSelective(WxUserHomeworkAnswer record);

    List<WxUserHomeworkAnswer> selectByExample(WxUserHomeworkAnswerExample example);

    WxUserHomeworkAnswer selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WxUserHomeworkAnswer record, @Param("example") WxUserHomeworkAnswerExample example);

    int updateByExample(@Param("record") WxUserHomeworkAnswer record, @Param("example") WxUserHomeworkAnswerExample example);

    int updateByPrimaryKeySelective(WxUserHomeworkAnswer record);

    int updateByPrimaryKey(WxUserHomeworkAnswer record);
}